body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    background-color: #f0f0f0;
}

.tab-container {
    width: 600px;
    height: 300px;
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 8px;
    overflow: hidden;
}

.tab-nav {
    display: flex;
    background-color: #e0e0e0;
}

.tab-button {
    flex: 1;
    padding: 15px;
    border: none;
    background-color: inherit;
    cursor: pointer;
    transition: background-color 0.3s;
}

.tab-button:hover {
    background-color: #d0d0d0;
}

.tab-button.active {
    background-color: #564ecf;
}

.tab-content {
    padding: 20px;
    height: calc(100% - 50px); /* 减去导航栏的高度 */
    overflow-y: auto;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}
.tab-content img{
    width: 590px;
}